import { createPinia } from "pinia";

import { PersistedStoreSync } from "./plugin/persistedstate.ts";
import { PiniaSharedState } from "pinia-shared-state";
const store = createPinia();

store.use(PersistedStoreSync).use(
  PiniaSharedState({
    enable: false,
    initialize: false,
  }),
);

export default store;
